<?php $ui = $this->load->library('Ui'); ?>
	<h2>Install a theme</h2>
<?php
	$header = 	$ui->makeOption(
					anchor('theme_manager/admin', 'Manage') . ' '.
					anchor('theme_manager/admin/add', 'Install a Theme'). ' ', 1 ).
					'<div class="clear"></div>';
	$content = '<form method="POST" enctype="multipart/form-data">
		<table class="hidden-table" cellspacing="1" cellpadding="5" width="100%">
			<tr><td>Theme File (zip only): </td><td><input type="file" name="file" class="form" value=""/></td><td>
			'.form_error('file');
			if(!empty($error)){ $content .= $error; }
	$content .= '</td></tr><tr><td colspan="3"><input name="submit" type="submit" value="Upload Theme" /></td></tr></table></form>';

	echo $ui->makeDialog('Install a Theme'.$header, $content, 'maximize center');
?>

	<!--<form method="POST" enctype="multipart/form-data">
		<table cellspacing="1" cellpadding="5" class="hidden-table" width="100%">
			<tr><td>Theme File (zip only): </td><td><input type="file" name="file" class="form" value=""/></td><td>
			<?php echo form_error('file'); ?>
			<?php if(!empty($error)){ echo $error; } ?>
			</td></tr>
			<tr><td colspan="3"><input name="submit" type="submit" value="Upload Theme" /></td></tr>
		</table>
	</form>-->
